<template>
  <Person3>
    <template #sonSlot="{ sonAge, sonName, sonHobbies }">
      你爹希望这样显示爱好~
      <p>年方{{ sonAge }}的{{ sonName }}喜欢：</p>
      <ul>
        <li v-for="item in sonHobbies" :style="{ color: 'red' }">{{ item }}</li>
      </ul>
    </template>
  </Person3>
</template>

<script setup>
import HelloWorld from "./components/HelloWorld.vue";
import Person from "./components/Person.vue";
import Person2 from "./components/Person2.vue";
import Person3 from "./components/Person3.vue";
</script>

<style scoped>
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vue:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
}
</style>
